package com.zs.daemon;

import lombok.extern.slf4j.Slf4j;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

/**
 * Copyright 2020 ZS Network Co., Ltd. All rights reserved.
 * 本文件仅限于正数网络技术有限公司内部传阅，禁止外泄以及用于其他的商业目的。
 * Created by yuancong on 2022/11/15.
 */
@Component
@Slf4j
public class DemoTask {

    //@Scheduled(fixedDelay = 1 * 10000)
    public void doWork() {
        log.info("Demo task is working");
    }
}
